import { ElMessage } from 'element-plus';

// 成功提示
export const success = (message) => {
  ElMessage({
    message: message,
    grouping: true,
    type: 'success',
  })
}

// 失败提示
export const failed = (message) => {
  ElMessage({
    message: message,
    grouping: true,
    type: 'error',
  })
  
}

// info提示
export const info = (message) => {
  ElMessage({
    message: message,
    grouping: true,
    type: 'info',
  })
}